
int f(int &a, int &b)
{
    // if we want to return a and b, we can't return it directly, while
    // we should use a reference, and set it the return-value.
    b = 2;
    return a;
}